<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="jquery.min.js"></script>
	</head>
	<body>
		<input type="button" value="返回" />
	
		
	</body>
	<script>
			$(function(){  
			    $("button").click(function(){
			    	pushHistory();  
			    })
			    window.addEventListener("popstate", function(e) {  
			        alert("我监听到了浏览器的返回按钮事件啦");//根据自己的需求实现自己的功能  
				},false);  
			    function pushHistory() {  
			        var state = {  
			            title: "title",  
			            url: "#"  
			        };  
			        window.history.pushState(state, "title", "#");  
			    }  
			      
			});  
		</script>
</html>
